package com.code.zg.news.di.component;

import android.app.Activity;

import com.code.zg.news.di.ActivityScope;
import com.code.zg.news.di.module.ActivityModule;
import com.code.zg.news.views.activity.MainActivity;
import com.code.zg.news.views.activity.WelcomeActivity;

import dagger.Component;

/**
 * Created by zhanggang on 2017/2/25.
 */
@ActivityScope
@Component(dependencies = AppComponent.class,modules = ActivityModule.class)
public interface ActivityComponent {
    Activity getActivity();
    void inject(WelcomeActivity activity);
    void inject(MainActivity activity);

}
